package ext.generic.part;

import java.io.Serializable;

import wt.method.RemoteAccess;
import wt.method.RemoteMethodServer;

import wt.services.*;

import wt.util.WTException;
/**
 * 有关零部件监听程序的接口类,是客户端访问的入口
 */
public class GenericPartServiceFwd implements RemoteAccess, GenericPartService, Serializable
{

    static final boolean SERVER;
    private static final String FC_RESOURCE = "wt.fc.fcResource";
    private static final String CLASSNAME = GenericPartServiceFwd.class.getName();
    static
    {
        SERVER = RemoteMethodServer.ServerFlag;
    }

    public GenericPartServiceFwd()
    {
    }

    private static Manager getManager() throws WTException
    {
        Manager manager = ManagerServiceFactory.getDefault().getManager(ext.generic.part.GenericPartService.class);
        if (manager == null)
        {
            Object aobj[] =
            { "ext.generic.part.GenericPartService" };
            throw new WTException("wt.fc.fcResource", "40", aobj);
        }
        else
        {
            return manager;
        }
    }
}
